<?php echo $this->Html->script(array('actions'),$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));?>
<?php echo $this->Html->css(array('carts.add','form','actions'),null,array('inline'=>false));?>

<div class="content">
		<div class="items index box corners">
			<?php echo $this->Form->create('Cart',array('url'=>array('plugin'=>false,'controller'=>$this->params['controller'],'action'=>'add'),'type' => 'file'));?>
				<h2><?php __('Add Cart'); ?></h2>
				<table>
					<tr>
						<td valign="top">
						<?php echo $this->Form->input('Category.Category',array('options'=>$categories,'empty'=>array(''=>''),'style'=>'height: 300px;')); ?>
						</td>
						<td valign="top">
						<?php
							echo $this->Form->input('name');
							echo $this->Form->input('Upload.0.file', array('type' => 'file','label'=>__("Cart",true)));	
							echo $this->Form->input('content');
						?>
						</td>
					</tr>
				</table>
			<?php echo $this->Form->end(__('Submit', true));?>
		</div>

</div>
<div class="clr"></div>

<div class="actions main_actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Carts', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Add Category', true), array('action' => 'category_add')); ?></li>
		<li><?php echo $this->Html->link(__('Categories', true), array('action' => 'category_index')); ?> </li>
	</ul>
</div>